# -*- coding: utf-8 -*-

from fastapi import APIRouter
from app.apis.system import user, menu, roles, lookup, id_center, file,exec_cmd
from app.apis.point_management import my_application, point_report
from app.apis.hrms import department, duty

app_router = APIRouter()

# system
app_router.include_router(user.router, prefix="/user", tags=["user"])
app_router.include_router(menu.router, prefix="/menu", tags=["menu"])
app_router.include_router(roles.router, prefix="/roles", tags=["roles"])
app_router.include_router(lookup.router, prefix="/lookup", tags=["lookup"])
app_router.include_router(id_center.router, prefix="/idCenter", tags=["idCenter"])
app_router.include_router(file.router, prefix="/file", tags=["file"])
app_router.include_router(exec_cmd.router, prefix="/cmd", tags=["cmd"])

# userApply
app_router.include_router(my_application.router, prefix="/userApply", tags=["userApply"])
app_router.include_router(point_report.router, prefix="/userApply", tags=["userApply"])

# hr
app_router.include_router(department.router, prefix="/hr", tags=["hr"])
app_router.include_router(duty.router, prefix="/hr", tags=["hr"])
